package grpc.rpcserver.service.impl;

import grpc.rpcprotocol.entity.UserInfo;
import grpc.rpcprotocol.service.UserService;

/**
 * @Author: admin
 * @Description:
 * @Date: 2018/9/28 15:39
 */

public class UserServiceImpl implements UserService {
    @Override
    public String addUser(UserInfo userInfo) {
        System.out.println("id: "+userInfo.getId()+"\tname: "+userInfo.getName());
        return "新增人员id"+ userInfo.getId()+"成功......";
    }
}
